<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test Case Page- Auto-Validator</title>
<style type="text/css">
dl {
	background:#f5f5fa;
	border:2px dashed #eaeaea;
	border-radius:5px;
	box-shadow:1px 1px 10px #aaa;
}
dt {
	background:#eaeaea;
	font-weight: bold;
	margin:0 auto;
	font-size: 24px;
}
</style>
</head>
<body>
	<h1>Auto-Validator 测试页</h1>
	<form action="/test" method="post" enctype="application/x-www-form-urlencoded">
		<dl>
			<dt>optional[required] 测试</dt>
			<dd>type[int]<input type="text" name="number">*</dd>
			<dd>type[long]<input type="text" name="long">*</dd>
			<dd>type[date]<input type="text" name="date">*</dd>
			<dd>type[email]<input type="text" name="email">*</dd>
			<dd>type[url]<input type="text" name="url">*</dd>
			<dd>type[boolean]<input type="text" name="boolean">*</dd>
			<dd>type[regex]<input type="text" name="regex">*</dd>
			<dd><input type="submit" value="提交测试"/></dd>
		</dl>
	</form>
	<form action="/test2" method="post" enctype="application/x-www-form-urlencoded">
		<dl>
			<dt>optional[option] 测试</dt>
			<dd>type[int]<input type="text" name="number"></dd>
			<dd>type[long]<input type="text" name="long"></dd>
			<dd>type[date]<input type="text" name="date"></dd>
			<dd>type[email]<input type="text" name="email"></dd>
			<dd>type[url]<input type="text" name="url"></dd>
			<dd>type[boolean]<input type="text" name="boolean"></dd>
			<dd>type[regex]<input type="text" name="regex"></dd>
			<dd><input type="submit" value="提交测试"/></dd>
		</dl>
	</form>
	<form action="/test3" method="post" enctype="application/x-www-form-urlencoded">
		<dl>
			<dt>optional[equals] 测试</dt>
			<dd>type[int]<input type="text" name="number">重复输入<input type="text" name="number1"></dd>
			<dd>type[long]<input type="text" name="long">重复输入<input type="text" name="long1"></dd>
			<dd>type[date]<input type="text" name="date">重复输入<input type="text" name="date1"></dd>
			<dd>type[email]<input type="text" name="email">重复输入<input type="text" name="email1"></dd>
			<dd>type[url]<input type="text" name="url">重复输入<input type="text" name="url1"></dd>
			<dd>type[boolean]<input type="text" name="boolean">重复输入<input type="text" name="boolean1"></dd>
			<dd>type[regex]<input type="text" name="regex">重复输入<input type="text" name="regex1"></dd>
			<dd><input type="submit" value="提交测试"/></dd>
		</dl>
	</form>
</body>
</html>